fixed slight error in tests/index.php for SQLFactory