testing engine in rails