fixed missing image problems; add new test for missing images