Added regression testes.