update refactored tests/mac