Add tests for API's assert={user|bot}

Change-Id: I5bff0adf11bccef137d59c05edae45d774596994
Merge "Add tests for API's assert={user|bot}"