Added esp tests. Fixed esp model