(test) add additional testing for ab_test queries and add image test route