Fix error in log label
Add test on views