Adds initializer for test rails app