Replace LICD filter with Kotlin version, add test