add proper test for user