Moving listing of TEST libs before LIB libs

Should not matter but it should like nicer.  See comments in the code.