Internationalizing the errors messages in Ipa.rb and adding some basic failure test cases