adding some test functionality to wrappers