Add profile test for Jobmanager and terracotta