setup test controller