core: Fix range check for control message type
test: Add tests for bt_daemon_handle_message
test: Add missing coverage for parse_list