Added missing test attributes, fixed DBNull handling in types