bee tests

Some grunt tests for bee, as well as some small changes to the test driver.