made test() a bit more friendly