Added some tests from the datajs library