Added selftest for vpws app