Added more fine grain testing for the master_images database.