cleaned tests code format