Kasun Rajitha was ruled out of the second test against Bangladesh due to an injury in the upper back area.