Implemented more generic version of "get_item_bytes" Test::Util subroutine