Added some tests. Still missing some for Flog class.

Signed off by: Renan Fichberg <rfichberg@gmail.com>