Half tester bed
Click on the image to open
The plan for the bed, minus a majority of the carving.

I am a high schooler and I am in the midst of building a half-tester bed in my shop class, my teacher has never built one before and has put forward the question of how we are going to connect the tester part to the headboard. That is why I am here, I was thinking of using metal L brackets that attach to the tall post and go along top of the tester part, any advice on if that is the way to go?