COMMON: added basic unit tests