move coeralls code in test_helper