adding implemented written tests on main