add test for convertInt