meta.unittests

Unit tests for the meta functions They are in a seperate file so that they are not executed when unit tests are enabled in user code.