Updated tests and mixed case validation