notifications api mock improvements