Move get_transitively_similar movies from model method to utility function.
Move helper decorators for tests into test package.