Added more tests for Class.js