Add test for .extend() #47