Added spawn attribute and get test.