fix TestPrepared