added UserTest file

Verified that Counter.java and User.java function correctly with database