updated test to use user