test for os.rename

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
visit: small fix

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>