Added synch and asynch unit tests for create and update dashboard