Implementing testing scripts and targets in main makefile. Updating Function's test to use the new and proper way.