Added open_files option to test() to reflect latest Astropy master.