added junit testing. can't connect to jndi outside of web app