Tests for problem model