It's not a complete sentence. It's just a phrase. It sounds very awkward and clumsy I suggest eg Opening the ceiling to test for a water leak Do you mean 'test for' or 'search for'?
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.