Added test3. Added support for initial actions, display functions.