Copy unit tests from core Okra source