added specs for log methods calling