Thompsons lands victory for pilot in BA flexible-working test case