Added qunit tests for dom selector and message box.