Added user unit test and fixed small bug on connection string