Ensure all implemented functions in optimal.py have a test case with an assert for pass/fail under tests/test_optimal.py