Implemented test for WebAppCache and changed DBMapping to EJB 3.1 spec