Add test with proper working dir.