Fix redundant tests