added test case for rst