Updated build file spec

Need reviewing, especially for the test build files