tests equal case
fixes tests testing the wrong method
adds not-before and not-after validators, to allow equality