Created test for extension()