Fixing configuration tests for 2.7 support