Add cople of unit tests based on Qunit