updated tests to better account for trace and warn being non-functions