Merge pull request #1360 from toopay/core-tests

Unit tests for Benchmark, Input and Security classes.