fix common Lyapunov func unit tests