refactored the test data generator
added method to get a random value from User enums