adds tests and custom build script