fix active_resource_test