tests.py: added initial tests