enum fixed with new test