testing atoi individually to find segfault error