tests for repeated values