Add user and builtin tests for php