code formatting
add more complex test