moved test to gui (broke compilation back in core)
cleanup