Added test functions