tests added for prototype.