test suite: adapt #350 implementation
test suite: adapt #350 implementation
fix #350: better permission check