The tests include:  Chest x-ray to show signs of RDS or lung problems. Blood tests to detect infections or measure oxygen in the blood. Echocardiography, which creates an image of the heart using sound waves. This can help detect heart defects that may be the cause of breathing problems.