Added test with generics from added method