Migrated testsuite to test user APIs