Fixed test dependencies and added build badge