fixing all tests
getting the distribution build working