testlib; add assertion for floating point numbers