adjusted tester to find when type and value were correct, or not.