fix random lowercasing in test