Improve documentation of build_file
and add tests
#35
+130
−23
build_file
and add tests
#35