Added test for returning default values

Trying to get familiar with the codebase so I wrote a test for a recent bugfix: 848921a4418f0403fdfd5bc9f11c2adec57c0488

Not sure how to check a 32 vs 64 integer. About to go find out though :)