tests: Set umask at beginning of tests

Assumptions about user umask were made in tests,
if user umask was different cleaning operation didn't work.
We set umask explicitly at beginning of tests to 0022.

Change-Id: Ia45e2fae95ab2f825f416da8495eec658309b95a