add needed type hints for phpunit8This will break a lot of plugin tests, but can't be avoided
added tests for legacy function tpl_get_action()I want to make this function use the new Menu Items, these tests shouldensure I don't break functionality.