added simple tests with qunit