Fix test
Merge pull request #562 from stianst/access-code

Fix test