Modify Rakefile to enable CI testing.

This commit fixes #261.
Merge branch 'id/261' into dev