lint fix for constructor compare
sort out tests for array constructor