adds test for build command