refactored tests to display on fail only