added test for defaults