ContentNegotiationInputFilter created from scratch, tests added