Tests bharat

Hello Anubhav,

The unittests test the sync between fw states and cached fw states in workflow. 
These can be merged into existing tests.