First tests done to wState class, but not yet fully tested