Added test RK code