US Navy detonates 40,000lb explosive for test