Added tests for single attribute w/ and w/o initialization