add numerical analysis tests