some code tests