added more test coverage for tasks and users