new tests
fixed WP of if-else