Updated tests to add calls to deprecated functions.
Updated to delete the dash created just for deprecated version of call
and delete temp file just for deprecated.