Convert tests to AMD tests
Merge pull request #15 from troopjs/feature/amd-test

Convert tests to AMD tests