Added installation via composer and created tests