add unit test to make sure cleaning up old build dir is default