added test ajax call to rails app