Added a couple of tests

Please review whether the object access methods are used right. I am getting random failures of the tests though. Maybe because nunit runs tests in parallel?