add function test to dashboard commercial to test array and dict