add widget object, update tests