Fix EZP-21219: Added a functional test

While testing: https://jira.ez.no/browse/EZP-21219

We wanted to make sure anonymous could not read a draft so I thought it could be an opportunity to write my first test on ezpublish-kernel.