Add tests for accesscode workflows. Right now we check only those parts that are needed to reach a testcoverage for the workflow module of 100%.