Use Vanilla 2 plugin for transient checks

Changes:
* move transient test to separate test file
* use vanilla 2 plugin for transient checks
* small refactoring

Change-Id: I9c72919b0211a354f9d9858b840926b9bee36a7e
Merge "Use Vanilla 2 plugin for transient checks"