renamed subjects_taught as teachings and added tests