modified pytest conf
added tests
changed pattern for cleaning html
changed the way to get uid => easier to test