tests for tasks model