Admin javascript unit test.