add tests for media type parameters handling