ransack support and some test changes