bnf optimizations
Only execute markdown tests if directory with tests exists (for CI builds)