polar angles. improvement in error messages for test case files