fix some typos in upstudy.html
make either rules or text model optional in interest worker
initial tests for interest worker