Add test/test_with_railsapp (part done)