Remove chdir in test

This should fix the unit test to run properly when run from the main
directory.