Tests for the user utils