added getBug() function.  fixing some tests readying module for inclusion