Removing errors of tests