Added a functional test

Check if anonymous can read a draft.