tests and userTests fixed