fixed test build script