Added tests for content type validator