Adds basic tests which deals with exceptions

The actual tooz tests cover the situations where no exception
is raised. This commit adds some tests that deals with the cases
where a group and/or a member are nonexistent or already exists.
Then it checks that the right exception is raised.

Change-Id: I863cfb0e863aee49376e284f88413a4aefb2ca9e