Change importBinary tests to use synchronous code
removing unused functions