Added more tests and character API