Bug fixes for the advertising feature. Added a small test runner dart script which comes very handy for plugin development.