Only kill child process if it exists.
Remove unused spec file.
Add jasmine specs for functionality.