fixed parse test to take case-insensitivity into account