Added a test case for filling in default values