Save user instead of current_user (which is a proxy object to the real User instance
Added tests for query methods for tasks in task repository
Added tests for save, update and delete methods for tasks in task repository
Added tests for query methods for taskruns in task repository and refactor