Add tests for generic method definition (close #89)