Added an example javascript unit test - you can run this from vs 2012 test runner, closes #20