fixed issues with store error and added test init and launch controller functions