add test for build-from-file
adde mock files