Refactor binary integration spec