tests: add global tests

test illegal versions and creating singleton more times