comparison functions + tests
0.1.4