learning example for testing in rails