If and bool tests done and functional.