validation logic parser tests