added comparison based testing