Fixed two issues with the tests.
Added default values.