Add tests for new deadline column in tasks table