Add tests for the forbidden control packet types. Changed the parse method to use callback