Adding tests for objects