added test to handle custom delimiter
added tests to handle negative numbers