inserted minor assertions

to check : task added to db not null, acknowledgements not null.

Waiting on : UI to take in user input for the task ID