Fix/atob style and test cases

@devinchen  #3