Moving binary tests to endpoint