Testing of environmental samples