added PK finder test, general cleanup