finish testing for user methods of db