Tests on Java EE 6/7