added tests and included jasmine standalone library for test results in browser