Add unit tests for the available filter controller