fixed test: exact match does not work on my system anymore, use comparison to 1e-12 instead