Debugged test code, added repeat value testing in list