added unit tests for like controller