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

Convert tests to AMD tests