Add test command to build script