Added log spec tests