testing GET if/else