Add option to execute unittest in building package