fixing test with required username field