Added basic Linear unittests