first 2 tasks from UnitTesting in js hw