added test cases for get example method which prints the examples of the given word