working tests (but still problematic on larger scale)