Tests for parsing a String to a model