Begin writing tests for friends.js