bug: #valid returned opposite of expected, bad tests