COMP: fix a valgrind leak in new test

Change-Id: I2ef4a1643fee0e7ef8d10cd49c398d2128e020b7
Fixed memory errors in newly added tests

Change-Id: I9633903c5656791f7e4bbc79ce45c7f92d0a197c
Merge topic 'fix-leak' into master

7bcf2313 COMP: fix a valgrind leak in new test
Merge topic 'fix_valgrind_error' into master

3a27c8e6 Fixed memory errors in newly added tests