Replace dummy Rails app with unit tests