Start moving Buffer tests over to javascript