beginning of functional test (not really useful yet)