Make test work when not in root context

Change-Id: I26ed26da63969d3798b543fb3b55ddb92e07b32c
Removed randomness from test application

Change-Id: I823dfd3401c1cc5b2ca66428636043f2af58f0f7