Added extends, inherance and memoize tests