Application of Kolmogorov complexity and universal codes to identity testing and nonparametric testing of serial independence fo