Add rakefile.
Update rakefile to file all test files.
Added specs for exceptional input.