Added testes to local variables