added container to TransactionsController tests so that the needs property resolevd correctly.