wrote tests for answer model

Wrote 3 tests for the answer model.