Added test for AMD
Added unit testing with phantomJS to Makefile