PLFM-1858: tests
fix for SQL typo