Get pair libraries working, at least insofar as tests work