fixed false positive test and refactored answer validation