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

Convert tests to AMD tests