Better error message when importing test module fails