Add missing test case for server session
Add more tests for invalid sa