trading manager tests added