Initial commit. Rudimentary tests