Added rest generic tests