Added automated enum tester and fixed an enum.