Updated unit tests with: more tests, close instead of equal for real/complex, many other improvements