Stripping unnecessary deployment dependencies for embedded testing