added direct value in unit-test to avoid fail on osx
Merge pull request #1565 from lambday/feature/log_determinant

added direct value in unit-test to avoid fail on osx