created another CDI example and added a test case