unit tests for or