added test infrastructure
added tests
renamed test file, cleaned up some naming
forgot requirejs
Merge pull request #1 from kbingman/tests

Added Tests