adding Mock as a requirement
adding tests for embed method