fixed testing framework