added environment testing