Updated test not to use nonexistent validator; made variable names more descriptive