fixed the failing test
using blackbox macros for snippets to compile with 2.11.0-M8
fixed compilation errors for 2.11.0-M8