Remove redundant keyword test