added move function and test file