removed one-off functions from test controller