static and dynamic tests