small render test and fix parent_prefixes deprecation on rails 4.2