[test] Add Custom test
[test] Add more test cases
[test] Add time measurement to tests
[test] Make Custom test safer
Merge pull request #79 from Makman2/test

[merge] Test