Tweak to enum test to ensure deep comparison is being done.