example to test ApplicationScoped and @Dependent behavior