Added missing custom validation method test

Am in the process of debugging a problem in project I am working on and first thing to try out was to check if this custom validation method on serializer works. Couldn't find an existing test for it so I've added one.