added test file to cover Resources.java