add regress tests for dynamic, bypass, deny and the macros.inspired my markus last commit, ok hshoexer@