Added test with Extends