[Tests] fix enum tests