The aircrew testing involves spacial awareness and lots of mental maths. You need to be good to get through and you need to be very good to be competitive. There are some books out there that can help but most of it you cant study for.
When I did the testing there were 7 pilot applicants and only 2 passed the test.
Good luck