Spokesman says Bieber will take paternity test