Merged duplicating unit tests for actions

We had two almost identical files with unit tests for actions. This
commit merges two files into one and puts it in a proper location.

Change-Id: Ic33f61acfd0de17181690cda9a517717522116cf
Merge "Merged duplicating unit tests for actions"