Rest crud optimizations, test architecture improvements + rest crud test