added questions api tests