Add test for creating job