Implemented basic JavaScript tests based on qUnit