Doc decouple controller and test