added assert for int and removed null checks
done small test for atoi
added another atoi test
merged diverged and added atoi tests