msg selftest

- extended getter/setter in order for external selftest to work
- wrote selftest