adding tests based on minitest