updated build script with test targets