[ticket/12658] Add test for base case of commands config:

Commands config:* are not tested yet

https://tracker.phpbb.com/browse/PHPBB3-12658
Pass class_name as an argument instead.