Added a test function for experimental purposes.