updated tests, including requirejs support

closes #15 
closes #16 

- updated the tests, still not covering all code, will continue to update in 0.1.2
- tests are now using requirejs