Some qunit tests

I wrote qunit tests for set bubble method, in validate part.