testing ruby backend for stocks