Made test framework work independently of linker argument order