test parse if working