fixed failing testing for successful json_decode