Make view tests support django messages

Storage backend for the messages needs to be set when using RequestFactory