private void readTests(String fileName) throws Exception {		
		BufferedReader is = new BufferedReader(
				new InputStreamReader(getClass().getResourceAsStream(fileName)));
        String inputLine;

        while ((inputLine = is.readLine()) != null) {
            if (inputLine.length() == 0 ||
				inputLine.startsWith("#"))
					continue;
			StringTokenizer st = new StringTokenizer(inputLine, "\t");
			if (st.countTokens() < 3) {
				System.err.println("INVALID INPUT: " + inputLine);
				continue;
			}
			String patt = st.nextToken();
			String data = st.nextToken();
			String expStr = st.nextToken();
			tests.add(new TestHolder(patt, data, expStr));
        }
        is.close();
	}