Added a simple test for the extend util