Add Railsification and Integration tests