refactored tests and updated firebug to version 1.12