Removed QUnit tests and added onInit event
API for various methods