Tests: Fix randomizedtest fail

Closes #79