Added test suite for function running.