require everything in the main require
remove the duplicate hooks definition
add test for calling the initialize block once, view with -w