implementing robust tests