improved controller test converage