improvement: add type request methods and update unit tests