Added test for RF-13706 and fixed the problem that QUnitTest executed each test multiple times