Extended attrs in environment

Added test for attributes/nodes