testing setup and User unit tests