Add unit tests for details step controller

Bug: T78792
Change-Id: Idb06ab3904c5a55f7e25ea8f82f4977d065638a3
Merge "Add unit tests for details step controller"