add missing dependency to railties
add basic tests and setup travis