Updated enum unit tests and example