fixed build system and modified tests to use minified .js file so tests cannot run until built