Adding unit tests and correct requirejs define's
adding tests