Addeed unit tests for frame_(hdr|cmd)_*()