Added test to cover f99c8ff.
Added test to cover f99c8ff.

Closes #409

BookStackApp/BookStack,Abijeet/BookStack,BookStackApp/BookStack,oomba/the-loud-cartographer,Abijeet/BookStack,oomba/the-loud-cartographer,oomba/the-loud-cartographer,BookStackApp/BookStack,Abijeet/BookStack