Done write test controller