Glad you asked...
To test your land for oil you will need to hire someone to drill a core sample. A lab can then test your core sample for the presence of petroleum products.
Then again, this answer might help you...
The best way to test land for oil is to dig. It is suggested that if you dig about 4,500 feet and you haven't hit any oil, then there probably isn't any there.

