Fixed issues with server actions and added new automated integration tests.