added a test error computation method