fixing sqlite tests