added tests for "extends" and "implements"