Moved unit tests to separated classes.