rational approximation unit-test added