Modified tests to run without rails.