Made variables protected
Created tests for Convert

- Added method to convert String to int