implemented basic test controller