Fix CoreTest module name
Remove custom handling of get/replace_state system messages
Add Hex support