some javaee7 configuration
some test refactory