Adding assertion tests for Account.in_groups() method.

This will eventually help us handle many grop assertions easily.
Fixing typo in test for in_groups() check.