Change toString() to name() on enum test