fetch and calculate failures and success tests