break tests out into own files, npmifiy, readme