Proper structuring of testable code in context

shortly before midnight, but all tests written and passing now :tada: thank you all for help!