refactor functional tests and add test to prevent blank guestbook signature