Added test for non-function then attributes