add spec for loan controller