Param cache test

@chibisov thank you for your help fixing this in #45
I've fixed the test, and now it passes.