Upgraded maven compiler plugin to version 3.1.
Ignore test if text is null as the assertions already cover the case.