tests for result
and more tests