Added test to check if the stack still has chars inside of it the result will return false, because the stack should be empty once the string is fully read.