add more test cases for auth
add test cases for invalid request
add test cases for notification
fix test cases