Fix test assertion to standard.
Add rails support.

Also add basic travis ci support.