refactor test
begin work on memory relocation