Fix legacy member tests

Legacy member tests were not working because classes and functions had
been renamed.