Add a simple test for packet drops
Add example for BBB
More refactoring