fix misc tests