create temp state manager for testing