Tests: Fix randomizedtest fail

Closes #39