Completed tests for attr initialization