Parse integer with first test