Separated tests into different files. Added test of bad int strings and fixed it