Create Preparation model unit tests

Test if all fields are of proper type, and that only the expected fields
exist.