test application from rail tutorial