Fixed constant bug and added native class methStringTest