Police permitted to subject Nithyananda to medical test