Created new constructor in MockSerializationResult and implemented getStatus in MockHttpServletResponse 

When you're using MockSerializationResult and you have to change response status code, you can't test it, because MockSerializationResult already instantiates MockHttpServletResponse.