test both prepares