Added testcase

Tested against 0 (integer), 0.0 (float), and '0' (string). All 3 values should be accepted
Merge pull request #5902 from auterium/patch-1

Added testcase for BlockCipher using 0 values
[#5902] Implement fix for issue demonstrated in test

- Changed test to use a data provider
- Implemented a fix for the behavior demonstrated by the test
Merge branch 'hotfix/5902' into develop

Close #5902
Fixes #5680