further unit tests added to check controllers