reordered tests
Fixed eawchks. LEA_EA should work
lines