make tests work with tape binary