Very ugly bug testing