Added a test that implements a generic method