fix hex int parsing in test