Add tests for profile sample file parsing.

The profile file parser needed some tests for its parsing actions.
This adds tests for each of the error messages emitted by the parser.