wrote a setParameter test
removed replace function ,