added ui tests, tested API