Extracting controller test helper

A small test helper to avoid duplication in ember controller tests