* Fixes the issue with fn test and adds relevant test cases, fixes #650 * Checking log size for invalid function * Testing the invalid function logs a few time beforr quitting * Disabling the test for now, linked to issue #653