Check the beef javascript hook in the unit tests