Moved convert command name to variable
Removed code to check that convert function hasn't deleted file while returning success, added test for base64 failure