Added test method to enum