Add tests; currently just for Prepare