Tests for normal equation solution method