Qunit test for r.constant object