fail task on bad result

we need tests..