Moved user and $tests.size() tests