added a test to make sure empty params don't fail