tests on losses were commented