Having parse_arguments() logic separate from register() is difficult for testing and unnecessary.
Update test for register() call.
Add directory whitelist for code coverage scoping/performance.