Fixed delete to take a pairing object instead of an id.
Added tests for all pairing operations