hacky script for tests