create test for Dog class