added rest of working logp testing framework