Enable strict argument validation in 'todo' test app and fix associated errors