refactored (created) TestbedAdapter class, added simple test