Updated minified version
Test case for task functions
Variable cleanup