piotr code tests