unit test details controller