added nested controller test