Add linalg test.
Add test for random number generators.