Unit test for User constructor

tests to make sure username and password are initialized correctly