Added test to test default keyword against new style hooks.