using singleton pattern for testbed object