added unit tests for process