testing using rails app as an engine