unit tests for owner