added unit tests to shell