Adding a test for pre-computed logs