Re-add working tests for the applications table