added tests for create notification functionality