Added helper method to read embedded test resources