Add tests to user feature