Add tests for units