refactoring the spec tests and adding beaker support in order to get issue #15 off the list