testable code