Added additional test parameters in Sample project

also fixed a memory leak on testDict