[beeg] PEP8 and additional tests