Improve linalg test2

Added a test to test the l2 norm functionality.