add the basice framework code, a Jasmine helper and some tests