Expand test to check for multiple extensions