fix user accessor unit tests