updated l-v test to be more numpy aware