Fix #683 issue - var_export and bool, added test for double type