running tests before running builds