Adds tests for Plan model.