add test for overriding ungrouped middleware
clear old anonymous scope when overwriting a define
0.6.2