Testing ugly code for restler