Fixed the bug that the same test was run several times