added unit tests, META