internal: test friendly code