Tests for theme entity

#139