Shadab Khan ruled out of 1st test due to thigh injury