Made refraction tests more robust in microfacet BTDF, fixed bug.