adding some tests for compare