Add test to Makefile
Create extend function.