added tests for usermodal and utils