add Get Razor fragment and unit tests

add Get Razor fragment and unit tests