Trade Engine Unit Tests