updated test controller