Tests moved to same folder as in original package
Added Test for LinearArray and updated its code