Adding hover preview unit tests